package com.ai.bitcoin.jpa.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Builder;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@EqualsAndHashCode(callSuper = false)
@Entity
@Data
@Table(name = "bcc_sub_coin")
@NoArgsConstructor
@Builder
@AllArgsConstructor
public class BccSubCoin extends Identity{

    String bccId;
    Date createTime;
    Date updateTime;
    Long endTime;
    String userSymbol;
    Integer status;
    String bccName;
    String userOpenId;
    String source;

    public BccSubCoin(String bccId, String userOpenId, String bccName) {
        this.bccId = bccId;
        this.userOpenId = userOpenId;
        this.bccName = bccName;
    }


}
